package com.lcy.demo;

import org.apache.ibatis.annotations.Select;

import java.util.HashMap;

/**
 * Created by 娄存银 on 2017/4/14.
 */
public interface PermissionMapper {
    @Select("select * from permission where id = #{id}")
    Permission selectPermission(int id);

    @Select("select * from permission where id = #{id}")
    HashMap<String,Object> selectMap(int id);
}
